package com.biz.primus.ms.sms.service.internal;

import com.google.common.base.Optional;

import java.util.Set;

/**
 * @author yanweijin
 * @date 2017/6/4
 */
public interface SensitiveWordService {

	boolean saveSensitiveWords(Set<String> words);

	Set<String> findAllWords();

	Optional<String> findSensitiveWord(String text);

}
